<table cellpadding="5" cellspacing="10">
      <th align="center">Please enter all fields. </th>
      <tr>
        <td align="right"><%= f.label :name, 'Name of location :', :class => 'form_text_field_label'%></td>
        <td><%= f.text_field :name, :class => 'form_text_field' %></td>
      </tr>
      <tr>
        <td align="right"><%= f.label :locationtype, 'Type : '.html_safe, :class=> 'form_text_field_label' %></td>
        <td><%= f.select :locationtype, @location_types.collect{ |l| [l.name, l.id]}, :prompt => '-Select type-', :selected => f.object.locationtype, :class=>'form_text_field' %></td>
      </tr>
      <tr>
        <td align="right"><%= label_tag :district, 'District : ', :class=> 'form_text_field_label' %></td>
        <td><%= f.text_field :district, :class => 'form_text_field' %></td>
      </tr>
      <tr>
        <td align="right"><%= label_tag :coordinates, 'Coordinates :',:class=> 'form_text_field_label' %></td>
        <td>Lat <%= text_field_tag "location_lat", @location_lat.to_s, { :class=> 'form_text_field' }%><br />
         Lng <%= text_field_tag "location_lng", @location_lng.to_s, { :class=> 'form_text_field' }%></td>
      </tr>
</table>
